﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace Kokomo
{
	public abstract class DropBehavior
	{
		public DropBehavior()
		{
		}

		protected abstract void OnDragOver(
			FrameworkElement element,
			DragEventArgs e
			);
		internal void Element_DragOver(object sender, DragEventArgs e)
		{
			this.OnDragOver(((FrameworkElement)sender), e);
		}

		protected abstract void OnDrop(
			FrameworkElement element,
			DragEventArgs e
			);

		internal void Element_Drop(object sender, DragEventArgs e)
		{
			this.OnDrop(((FrameworkElement)sender), e);
		}
	}
}
